[broadway] Remove all leftover _gdk_windowing_ functions
authorAlexander Larsson <alexl@redhat.com>
Thu, 20 Jan 2011 12:06:44 +0000 (13:06 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 20 Jan 2011 12:12:26 +0000 (13:12 +0100)
gdk/broadway/Makefile.am
gdk/broadway/gdkapplaunchcontext-broadway.c [deleted file]
gdk/broadway/gdkdisplaymanager-broadway.c
gdk/broadway/gdkmain-broadway.c
gdk/broadway/gdkprivate-broadway.h
gdk/broadway/gdkscreen-broadway.c

index bcdb1416df5919dd52c72f96af3aa627c3cfe1d7..80ffc39c38a9d951a48d4f81e2071d3024a0163d 100644 (file)
@@ -36,7 +36,6 @@ broadway_built_sources =              \
 
 libgdk_broadway_la_SOURCES =           \
        ${broadway_built_private_headers}\
-       gdkapplaunchcontext-broadway.c \
        gdkbroadwaydisplaymanager.h     \
        gdkcursor-broadway.c    \
        gdkdevice-broadway.h    \
diff --git a/gdk/broadway/gdkapplaunchcontext-broadway.c b/gdk/broadway/gdkapplaunchcontext-broadway.c
deleted file mode 100644 (file)
index 911c4cf..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/* gdkapplaunchcontext-broadway.c - Gtk+ implementation for GAppLaunchContext
-
-   Copyright (C) 2007 Red Hat, Inc.
-
-   The Gnome Library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public License as
-   published by the Free Software Foundation; either version 2 of the
-   License, or (at your option) any later version.
-
-   The Gnome Library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Library General Public License for more details.
-
-   You should have received a copy of the GNU Library General Public
-   License along with the Gnome Library; see the file COPYING.LIB.  If not,
-   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.
-
-   Author: Alexander Larsson <alexl@redhat.com>
-*/
-
-#include "config.h"
-
-#include "gdkapplaunchcontext.h"
-
-#include "gdkscreen.h"
-#include "gdkinternals.h"
-#include "gdkintl.h"
-
-#include <glib.h>
-
-#include <string.h>
-#include <unistd.h>
-
-char *
-_gdk_windowing_get_startup_notify_id (GAppLaunchContext *context,
-                                     GAppInfo          *info,
-                                     GList             *files)
-{
-  return g_strdup ("todo");
-}
-
-
-void
-_gdk_windowing_launch_failed (GAppLaunchContext *context,
-                             const char        *startup_notify_id)
-{
-}
index 67fa360af24a866880bd8ebae2d6751629f673a8..2c52a6d1becc1052a9f852f3dea379c3be5f0994 100644 (file)
@@ -103,6 +103,7 @@ gdk_broadway_display_manager_keyval_convert_case (GdkDisplayManager *manager,
 static void
 gdk_broadway_display_manager_init (GdkBroadwayDisplayManager *manager)
 {
+  _gdk_broadway_windowing_init ();
 }
 
 static void
index d7b115b765bab340b01b68acbf2bb0851781b0e5..f7a2817ec6273aef762f06847fef9eeb2184099c 100644 (file)
 #include <limits.h>
 #include <errno.h>
 
-typedef struct _GdkPredicate        GdkPredicate;
-typedef struct _GdkGlobalErrorTrap  GdkGlobalErrorTrap;
-
-struct _GdkPredicate
-{
-  GdkEventFunc func;
-  gpointer data;
-};
-
-/* Private variable declarations
- */
-const GOptionEntry _gdk_windowing_args[] = {
-  { NULL }
-};
-
 void
-_gdk_windowing_init (void)
+_gdk_broadway_windowing_init (void)
 {
   _gdk_broadway_initialize_locale ();
 }
-
-GdkGrabStatus
-_gdk_windowing_device_grab (GdkDevice    *device,
-                            GdkWindow    *window,
-                            GdkWindow    *native,
-                            gboolean      owner_events,
-                            GdkEventMask  event_mask,
-                            GdkWindow    *confine_to,
-                            GdkCursor    *cursor,
-                            guint32       time)
-{
-  return GDK_GRAB_NOT_VIEWABLE;
-}
-
-void
-_gdk_windowing_display_set_sm_client_id (GdkDisplay  *display,
-                                        const gchar *sm_client_id)
-{
-  if (display->closed)
-    return;
- }
-
-/* Close all open displays
- */
-void
-_gdk_windowing_exit (void)
-{
-}
index e5cbac585de14bd536e9f4e49721033caeaf9441..d0ee88c3372219b86a84d4de6fedba5d635e915c 100644 (file)
@@ -42,6 +42,7 @@
 #include "gdkbroadwaywindow.h"
 
 void _gdk_broadway_resync_windows (void);
+void _gdk_broadway_windowing_init (void);
 
 gchar * _gdk_broadway_display_manager_get_atom_name (GdkDisplayManager *manager,
                                                     GdkAtom atom);
index dd1e38c5c728f15ec42c8fa1e409eaec235f840f..9df7199548d8d2837b6e3888844d5a9c1e116a98 100644 (file)
@@ -286,13 +286,6 @@ _gdk_broadway_screen_events_init (GdkScreen *screen)
 {
 }
 
-gchar *
-_gdk_windowing_substitute_screen_number (const gchar *display_name,
-                                        gint         screen_number)
-{
-  return g_strdup ("browser");
-}
-
 static void
 gdk_broadway_screen_class_init (GdkBroadwayScreenClass *klass)
 {